package com.zyj.action;

import java.util.ArrayList;
import java.util.List;

import com.zyj.pojo.User;

public class AppAction {
	
	private String task;
	private String id;
	private String username;
	private List<User> list;
	
	public String tree(){
		return "success";
	}
	
	
	public String image(){
		
		return "main";
		/* HttpServletRequest request = ServletActionContext.getRequest();     
		//String task = request.getParameter("task");
		
		if("cluo".equals(task)){
			return "cluo";
		} else if("messi".equals(task)){
			return "messi";
		} else if("beckham".equals(task)){
			return "beckham";
		} else{
			return "404";
		}*/
	}

	
	
	//get set
	public String getTask() {
		return task;
	}

	public void setTask(String task) {
		this.task = task;
	}
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}


	public String getUsername() {
		return username;
	}


	public void setUsername(String username) {
		this.username = username;
	}


	public List<User> getList() {
		return list;
	}


	public void setList(List<User> list) {
		this.list = list;
	}



}
